package com.lengyu.vxminiprogram;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan("com.lengyu.vxminiprogram.mapper")
@EnableScheduling // 开启定时任务功能
@EnableTransactionManagement
@EnableCaching
@SpringBootApplication
public class VxMiniProgramApplication {
    public static void main(String[] args) {
        SpringApplication.run(VxMiniProgramApplication.class, args);
    }
}
